import request from '@/utils/request'

// 查询优惠券列表
export function getCouponList(data) {
  return request({
    url: '/discounts/coupon/findCouponList',
    method: 'post',
    data: data
  })
}
// 新增优惠券
export function addCoupon(data) {
  return request({
    url: '/discounts/coupon/addCoupon',
    method: 'post',
    data: data
  })
}
